Skip to main content

PinningApi

All URIs are relative to **

MethodHTTP requestDescription
pinningPinsGetGET /pinning/pinsList all pin status objects
pinningPinsPinidDeleteDELETE /pinning/pins/{pinid}Delete a pinned object
pinningPinsPinidGetGET /pinning/pins/{pinid}Get a pin status object
pinningPinsPinidPostPOST /pinning/pins/{pinid}Replace a pinned object
pinningPinsPostPOST /pinning/pinsAdd and pin object

pinningPinsGet

List all pin status objects

This endpoint lists all pin status objects

Example

 pinningPinsGet

Parameters

This endpoint does not need any parameter.

Return type

(empty response body)

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not Applicable
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

pinningPinsPinidDelete

Delete a pinned object

This endpoint deletes a pinned object.

Example

 pinningPinsPinidDelete pinid=value

Parameters

NameTypeDescriptionNotes
pinidstringPin ID

Return type

(empty response body)

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not Applicable
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

pinningPinsPinidGet

Get a pin status object

This endpoint returns a pin status object.

Example

 pinningPinsPinidGet pinid=value

Parameters

NameTypeDescriptionNotes
pinidstringcid

Return type

(empty response body)

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not Applicable
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

pinningPinsPinidPost

Replace a pinned object

This endpoint replaces a pinned object.

Example

 pinningPinsPinidPost pinid=value

Parameters

NameTypeDescriptionNotes
pinidstringPin ID

Return type

(empty response body)

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not Applicable
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

pinningPinsPost

Add and pin object

This endpoint adds a pin to the IPFS daemon.

Example

 pinningPinsPost cid=value name=value

Parameters

NameTypeDescriptionNotes
cidstringcid
namestringname

Return type

(empty response body)

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not Applicable
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]